package com.prs.crm.service.ca.work.impl;

import java.io.Serializable;
import java.util.List;

import com.prs.crm.dao.ca.work.ArticleTookDao;
import com.prs.crm.domain.ca.work.ArticleTook;
import com.prs.crm.service.ca.work.ArticleTookService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class ArticleTookServiceImpl extends
		BaseServiceImpl<ArticleTook, ArticleTookDao> implements
		ArticleTookService {

	@Override
	public List<ArticleTook> getAllArticleTook() {
		return this.getDao().getAllArticleTook();
	}

	@Override
	public ArticleTook getArticleTookByBillNumber(String atBillNumber) {
		return this.getDao().getArticleTookByBillNumber(atBillNumber);
	}

	@Override
	public ArticleTook getArticleTookById(Serializable id) {
		return this.getDao().getArticleTookById(id);
	}

	@Override
	public ArticleTook getArticleTookBydate(String atApplyDate) {
		return this.getArticleTookBydate(atApplyDate);
	}

	@Override
	public ArticleTook getArticleTookBydateByDepartmenetId(
			int atTookDepartmentId) {
		return this.getDao().getArticleTookBydateByDepartmenetId(
				atTookDepartmentId);
	}

	@Override
	public void saveOrArticle(ArticleTook ArticleTook) {
		this.getDao().saveOrArticle(ArticleTook);
	}

}
